﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AzureGames.Model;

namespace AzureGames.Data
{
    public interface IBoardRepository
    {
        Board GetGameBoard(Guid BoardID);
        Board RegisterNewGame(GameDefinition gameDefinition, string playerID, out bool wasJoined);
        void AddGameBoard(Board board);
        bool UpdateGameBoard(Board board);

        List<Board> GetActiveGames(int gameDefinitionID, string playerID);
    }
}
